package com.shrio.controller;

import com.shrio.service.IMQProducer;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by luojie on 2018/3/27.
 */
@Controller
public class SendMQController {

//    private static Integer COUNT = 1;
//    final String queue_key = "test_queue_key";
//
//    @Autowired
//    private IMQProducer mqProducer;
//
//    @RequestMapping("send")
//    public void send(){
//        String msg = "hello world " + COUNT;
//        mqProducer.sendDataToQueue(queue_key, msg);
//    }
}
